﻿using Rsd.Dudu.ModelProvider;
using Rsd.Faith.Core;
using Rsd.Faith.Fiscal;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rsd.Faith.Models
{

    /// <summary>
    /// 楼栋单元流水
    /// </summary>
    [Table("fiscal_楼栋单元明细账流水", "fiscal__dan_yuan_ming_xi_zhang_liu_shui", "id")]
    [Serializable]
    public class FiscalDanYuanMingXiZhangLiuShuiModel : Rsd.Faith.Core.ModelBase
    {

        /// <summary>
        /// 账户编号
        /// </summary>
        [StringType("zhang_hu_bian_hao", "账户编号", 20, 50)]
        [DisplayName("账户编号")]
        public string ZhangHuBianHao { get; set; }

        /// <summary>
        /// 流水号
        /// </summary>
        [StringType("liu_shui_hao", "流水号", 22, 20)]
        [DisplayName("流水号")]
        public string LiuShuiHao { get; set; }

        /// <summary>
        /// 所属周期
        /// </summary>
        [StringType("suo_shu_qi", "所属期", 23, 20)]
        [DisplayName("所属期")]
        public string SuoShuQi { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        [StringType("ri_qi", "日期", 24, 20)]
        [DisplayName("日期")]
        public string RiQi { get; set; }

        /// <summary>
        /// 资金类型：住宅 、电梯/消防
        /// </summary>
        [StringType("zi_jin_lei_xing", "资金类型(住宅 ,电梯/消防)", 25, 10)]
        [DisplayName("资金类型（住宅 、电梯/消防）")]
        public ZiJinLeiXing ZiJinLeiXing { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        [NumericType("jin_e", "金额", 26, 20, 2)]
        [DisplayName("金额")]
        public decimal JinE { get; set; }

        /// <summary>
        /// 交易后余额
        /// </summary>
        [NumericType("yu_e", "交易后余额", 27, 20, 2)]
        [DisplayName("交易后余额")]
        public decimal YuE { get; set; }

        /// <summary>
        /// 摘要
        /// </summary>
        [StringType("zhai_yao", "摘要", 28, 100)]
        [DisplayName("摘要")]
        public string ZhaiYao { get; set; }

        /// <summary>
        /// 收入_支出
        /// </summary>
        [StringType("shou_ru__zhi_chu", "收入_支出", 30, 10)]
        [DisplayName("收入_支出")]
        public string ShouRuZhiChu { get; set; }



        /// <summary>
        /// 
        /// </summary>
        public FiscalDanYuanMingXiZhangLiuShuiModel()
        { }

    }
}
